Skip to content

Refactor order success page logic #160

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 28, 2025
Merged

Conversation

steven-fox
Copy link
Collaborator

@steven-fox steven-fox commented May 28, 2025

Just some logic clean up now that we're working with a different data setup vs. v1.

Basically, we now retrieve the checkout session, inspect the subscription associated with it, query the db for that subscription, its item, and the item's license. From there, we can resolve the related email, license key, and subscription plan.

@steven-fox steven-fox merged commit 744b0b2 into main May 28, 2025
2 checks passed
@steven-fox steven-fox deleted the refactor-order-success-page branch May 28, 2025 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant